package com.coffee.sku.api.inquire.service;

import com.coffee.core.entity.Page;
import com.coffee.core.entity.PagerInfo;
import com.coffee.core.exception.BusinessException;
import com.coffee.sku.api.inquire.query.InquireSkuTestingMessageQuery;
import com.coffee.sku.api.inquire.result.InquireSkuTestingMessageResult;

import java.util.List;
import java.util.Map;
import java.util.Set;


public interface InquireSkuTestingMessageService {

	Page<InquireSkuTestingMessageResult> getPager(InquireSkuTestingMessageQuery param, PagerInfo pr);
	
	Integer count(InquireSkuTestingMessageQuery param);
	
	InquireSkuTestingMessageResult getDetail(Integer id);
	
	List<InquireSkuTestingMessageResult> getList(InquireSkuTestingMessageQuery param, PagerInfo pr);
	
	List<InquireSkuTestingMessageResult> getList(InquireSkuTestingMessageQuery param);
	
	List<InquireSkuTestingMessageResult> getList();

	void delete(Integer id);

	void addOrUpdate(InquireSkuTestingMessageResult result)throws BusinessException;
	
	Map<Integer,InquireSkuTestingMessageResult> getItemMap(Set<Integer> idSet);
	
	Map<Integer,InquireSkuTestingMessageResult> getItemMap();
	
}